package edu.wpi.first.wpilibj.positioning;

import edu.wpi.first.wpilibj.util.ArrayMap;
import java.util.ArrayList;

/**
 *
 * @author 8349
 */
public class PathBuilder {
    
    private ArrayList<Coordinates> coordList = new ArrayList<Coordinates>();
    private ArrayList<Long> times = new ArrayList<Long>();
    
    public void addCoordinates (Coordinates c, long l){
        coordList.add(c);
        times.add(l);
    }
    
    public Path getPath(){
        return new Path (new ArrayMap<Long, Coordinates>(times, coordList));
    }
    
}
